﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace FBA.Client.Utils
{
    [DataContract]
    public partial class DataRequestResult<T>
    {
        public const string SUCCESS = "success";
        public const string ERROR = "error";

        [DataMember(Name = "status")]
        public string Status { get; set; }

        [DataMember(Name = "data")]
        public T Data { get; set; }

        [DataMember(Name = "message")]
        public string Message { get; set; }
    }
}
